package cn.xi.system;

import org.springframework.security.crypto.bcrypt.BCrypt;

public class Baaaa {
    public static void main(String[] args) {
        String gensalt = BCrypt.gensalt();
        System.out.println(gensalt);
        String qwe = BCrypt.hashpw("qwe", gensalt);
        System.out.println(qwe);
        boolean qwe1 = BCrypt.checkpw("qwe", qwe);
        System.out.println(qwe1);
    }
}
